package com.mkono.infra.untils;

import android.app.Application;
import android.content.Context;

import com.tencent.mm.opensdk.openapi.IWXAPI;
import com.tencent.mm.opensdk.openapi.WXAPIFactory;

import org.xutils.x;

/**
 * Created by HUANG on 2018/1/22.
 */

public class ContextUtils extends Application {

    private static Context instance = null;

    public static Context getInstance() {
        return instance;
    }

    @Override
    public void onCreate() {
        instance = getApplicationContext();
        super.onCreate();
        //初始化xutils插件
        x.Ext.init(this);
    }
}
